// 定义演员的类型接口
export interface ActorType {
  name: string;
  avatarAddress: string;
  role: string;
}
// 定义电影列表的类型接口
export interface ListType {
  filmId: number;
  name: string;
  poster: string;
  nation: string;
  runtime: string;
  actors: ActorType[];
  grade: string;
}

// 电影详情数据类型接口
export interface FilmType {
  poster: string;
  name: string;
  category: string;
  premiereAt: string;
  nation: string;
  runtime: string;
  synopsis: string;
  actors?: ActorType[];
  photos?: string[];
}

// 影院相关信息类型接口
export interface CinemaType {
  name: string;
  lowPrice: number;
  address: string;
  Distance: number;
}

// 个人信息
export interface UserType {
  userId: number;
  mobile: string;
  gender: number;
  headIcon: string;
}
